ExamPlay Dark Logo
Kirjaudu sisään

Computer Science for IGCSE & O level - Data Representation (Section 9 - No. 44)

What is the primary difference between a logical shift and an arithmetic shift?
Logical shifts involve shifting bits to the left, while arithmetic shifts shift to the right.
Arithmetic shifts preserve the sign bit, logical shifts do not.
Logical shifts are used for multiplication, arithmetic shifts are used for division.
There is no real difference; the terms are used interchangeably.

Selitys

Arithmetic shifts preserve the sign of the number. Logical shifts ignore the sign bit.

Kommentit (0)

Kirjaudu sisään kommentoidaksesi
Mainos
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc